from matplotlib import pyplot
import numpy as np
x=np.arange(12)
y=np.random.rand(12)
labels=['Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec']
pyplot.bar(x,y,color='red',tick_label=labels)
pyplot.title('bar chart')
pyplot.show()
